﻿using System;

namespace Shuba.Web.bulk_upload
{
    public partial class SAPADA_file_list_excel : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Response.Clear();
            Response.Buffer = true;
            Response.ContentType = "application/vnd.ms-excel";

            string txtSearch = Request["txtSearch"];

            var _bll = new Shuba.Business.SPADAFile();
            var list = _bll.GetList(txtSearch);

            rep1.DataSource = list;
            rep1.DataBind();
        }
    }
}
